package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.ShoppingCarts;
import com.example.entity.vo.ShopCartsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2024-09-13
 */
public interface IShoppingCartsService extends IService<ShoppingCarts> {
    List<ShopCartsVo> selectAllByUsrId( Integer usrId);

    Boolean updateGoodsId( String shopFig, Integer shopId,Integer shopNumber);

    ShopCartsVo selectAllByGoodsId( Integer goodsId,Integer usrId);

    ShopCartsVo searchAllByUsrIdShopCartsVo( Integer usrId);

    List<ShopCartsVo> selectAllByKeeperIdShopCartsVo( Integer usrId);

    Boolean checkOutShopByUsrId(Integer usrId);
}
